POV-Ray : Newsgroups : povray.beta-test : bug in texture_map : Re: bug in texture_map Server Time
31 Jul 2024 06:26:23 EDT (-0400)
  Re: bug in texture_map  
From: Mike Williams
Date: 26 Nov 2001 13:01:41
Message: <qscdECA5WnA8Ew$A@econym.demon.co.uk>
Wasn't it Bonsai who wrote:
>Hi,
>
>my machine is a PIII 450 MHz, 128 MB RAM and WinNT 4.0 Service Pack 5,
>POV-Ray 3.5 Beta 2
>
>The following code gives a parse error: Blend_Map too long
>
>// Start of code //
>#version 3.5;
>camera {location <10, 10, -10> look_at <0.5, 0.5, 0.5>}
>light_source {<10, 10,-10> color rgb 1}
>
>plane {<0, 1, 0>, 0
>       texture {cells
>                texture_map
>                        {
>                        #declare i = 0;
>                        #while (i <= 1)
>                          #declare my_color = color rgb i
>                          [i pigment{my_color}]
>                          #declare i = i + 0.0078;
>                          [i pigment{my_color}]
>                        #end
>                        }
>                }
>        }
>// End of code //
>
>O.k. there are too many texture_map items.
>Then I changed the #declare of "i" in the #while loop to:
>
>#declare i = i + 0.0079;
>                 ^^^^^^
>Now there are no parsing errors but POV-Ray crashed immediately after the
>render window appeared. After reloading POV-Ray and restarting the rendering
>without any change on the scene file it renders fine. No problems. Very
>strange! :-(


I've just been doing a bit of checking through the known bugs list, and
can't seem reproduce this in beta 7. It was confirmed in beta 2 and 
beta 4.

I reckon that it's now fixed and intend to remove it from the known bugs
list.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.